//
//  CoefficientCalc.h
//  MarketDataAnalyzer 2
//
//  Created by jiro on 10/10/27.
//  Copyright 2010 jiro music. All rights reserved.
//

#import <Cocoa/Cocoa.h>


enum CrudeCode {

	None = 0,
	Murban39 = 1,
	SaharanBlend44 = 2,
	Cabinda32 = 3,
	Fateh32 = 4,
	Oriente30 = 5,
	Heavy30 = 6,
	Light34 = 7,
	Kirkuk36 = 8,
	Kuwait31 = 9,
	EsSider37 = 10,
	Khafji28 = 11,
	BonnyLight37 = 12,
	Forcados31 = 13,
	Dukhan40 = 14,
	ArabianHeavy27 = 15,
	ArabianLight34 = 16,
	ArabianMedium31 = 17,
	Bachaquero17 = 18,
	Bachaquero24 = 19,
	TiaJuanaLight31 = 20,
	Gippsland42 = 21,
	SeriaLight37 = 22,
	Kole34 = 23,
	CanadianPar40 = 24,
	HeavyHardisty22 = 25,
	Lloydblend22 = 26,
	Daqing33 = 27,
	CanoLimon30 = 28,
	SuezBlend33 = 29,
	Mandji30 = 30,
	Minas34 = 31,
	TapisBlend44 = 32,
	Isthmus33 = 33,
	Maya22 = 34,
	EkofiskBlend42 = 35,
	OmanBlend34 = 36,
	Urals32 = 37,
	BrentBlend38 = 38,
	NYMEXFutureContract1 = 39,
	NYMEXFutureContract2 = 40,
	NYMEXFutureContract3 = 41,
	NYMEXFutureContract4 = 42,
};

enum CountryCode { 
	TotalWorld = 0,
	UnitedStates = 1,
	OPECAverage = 3,
	AbuDhabi = 4,
	Algeria = 5,
	Angola = 6,
	Dubai = 7,
	Ecuador = 8,
	Iran = 9,
	Iraq = 11,
	Kuwait = 12,
	Libya = 13,
	NeutralZone = 14,
	Nigeria = 15,
	Qatar = 17,
	SaudiArabia = 18,
	Venezuela = 21,
	NonOPECAverage = 24,
	Australia = 25,
	Brunei = 26,
	Cameroon = 27,
	Canada = 28,
	China = 31,
	Colombia = 32,
	Egypt = 33,
	Gabon = 34,
	Indonesia = 35,
	Malaysia = 36,
	Mexico = 37,
	Norway = 39,
	Oman = 40,
	Russia = 41,
	UnitedKingdom = 42,
};

@interface CoefficientCalc : NSObject {

}

+ (void) calcBetweenStockCode: (NSString*) code2 andStockCode: (NSString*) code2;

+ (void) calcBetweenStockCode: (NSString*) code1 andCurrencyExchangeCode: (NSString*) code2;

+ (void) calcBetweenStockCode:(NSString *)code2 andCrudeOilCountryCode: (CountryCode) countryCode andCrudeCode: (CrudeCode) crudeCode;


@end
